package com.shetou.yun.activity;

import android.Manifest;
import android.app.Application;
import android.os.Vibrator;

//import com.baidu.mapapi.SDKInitializer;


/**
 * 应用Application类
 *
 * @author 崔斌
 * @data
 */

public class BaseApplication extends Application {

    private static BaseApplication mContext;

    public static final String[] authBaseArr = {Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.ACCESS_FINE_LOCATION};
    public static String authinfo = null;
    public static final String[] authComArr = {Manifest.permission.READ_PHONE_STATE};

    public Vibrator mVibrator;
    // 单例模式中获取唯一的ExitApplication 实例
    public static BaseApplication getInstance() {
        return mContext;

    }
    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;

//        getokhttp();

    }




//    public void getokhttp() {
//        OkHttpClient okHttpClient = new OkHttpClient.Builder()
////                .addInterceptor(new LoggerInterceptor("TAG"))
//                .connectTimeout(30000L, TimeUnit.MILLISECONDS)
//                .readTimeout(30000L, TimeUnit.MILLISECONDS)
//                //其他配置
//                .build();
//
//        OkHttpUtils.initClient(okHttpClient);
//    }




}
